import request from "@/services";

// 获取专辑
export const getalbumAPI = (id: number) => {
  return request.get<any>({
    url: '/album',
    params: {
      id
    }
  })
}

// 获取歌手专辑
export const getArtistAlbumAPI = (id: Number, limit = 5) => {
  return request.get<any>({
    url: '/artist/album',
    params: {
      id,
      limit
    }
  })
}



